package cn.liangxxhu.gateway.config;

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class OpenApiConfig {
    
    @Bean
    public OpenAPI customOpenAPI() {
        return new OpenAPI()
                .info(new Info()
                        .title("MyBase 示例应用 API")
                        .version("1.0.0")
                        .description("示例网关应用的接口文档（集成 RocketMQ、Knife4j 等）"));
    }
}